<?php
namespace App\Service;
use App\Service\Controllers\SurveyController ;
class Survey extends SurveyController
{


    /**
     * @desc   业务后台 - 问卷-创建
     * @return \yii\console\Response|\yii\web\Response
     * @author 王豪<wanghao@xingfufit.com>
     * @create: 2019-12-16
     */
    public function Save()
    {
        $params = '';
        $return = (new SurveyController())->saveSurvey($params);
        if ($return === true) {
            return ;
        }
        return ;
    }
    public function SaveSurveyQuestion()
    {
        $params = '';
        $return = (new SurveyController())->saveSurveyQuestion($params);
        if ($return === true) {
            return ;
        }
        return ;
    }

    /**
     * @desc   业务后台 - 问卷-列表
     * @return \yii\console\Response|\yii\web\Response
     * @author 王豪<wanghao@xingfufit.com>
     * @create: 2019-12-16
     */
    public function SurveyList(){
        $params = '';
        $return = (new SurveyController())->getSurveyLists($params);
        return ;
    }
    /**
     * @desc   业务后台 - 问卷-删除
     * @return \yii\console\Response|\yii\web\Response
     * @author 王豪<wanghao@xingfufit.com>
     * @create: 2019-12-16
     */
    public function DelSurvey(){
        $params = '';
        $return = (new SurveyController())->delSurvey($params);
        if($return === true){
            return ;
        }
        return ;
    }
}
